﻿CREATE TABLE [dbo].[UserStoreInfo] (
    [UserStoreID] BIGINT           IDENTITY (10001, 1) NOT NULL,
    [Name]        NVARCHAR (200)   NOT NULL,
    [ShortName]   NVARCHAR (50)    NOT NULL,
    [Enable]      BIT              NOT NULL,
    [UserID]      UNIQUEIDENTIFIER NOT NULL,
    CONSTRAINT [PK_UserStoreInfo] PRIMARY KEY CLUSTERED ([UserStoreID] ASC)
);


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'用户标识', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'UserStoreInfo', @level2type = N'COLUMN', @level2name = N'UserID';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'启用状态', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'UserStoreInfo', @level2type = N'COLUMN', @level2name = N'Enable';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'店铺简称', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'UserStoreInfo', @level2type = N'COLUMN', @level2name = N'ShortName';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'店铺名', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'UserStoreInfo', @level2type = N'COLUMN', @level2name = N'Name';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'用户店铺标识', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'UserStoreInfo', @level2type = N'COLUMN', @level2name = N'UserStoreID';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'用户店铺信息', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'UserStoreInfo';

